package com.caption.controller;

import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@Slf4j
@RequestMapping("/user")
public class UserController {

    @GetMapping("/info")
    public String info(){
        log.error("error");
        log.warn("warn");
        log.info("info");
        log.debug("debug");
        log.debug("debug");
        log.trace("trace");

        return  "zhangsan";
    }
}
